var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.npc_ChangeController(1204030, "oid=409158", -229, 68, 22, -279, -179, 0, false, 0, false);
            cm.forceStartQuest(21764, "1");
            cm.sendNormalTalk("封印石应该就在这附近……咦，怎么没有？难道已经被黑色之翼……？！", 2, 1204030, false, false)
        } else {
            if (status === a++) {
                cm.sendNormalTalk("封印石被眼镜将军抢走了！去见见赫丽娜！", 2, 1204030, false, true);
                cm.dispose()
            }
        }
    }
};